package cn.laixueit.resource.feign.client;

import cn.laixueit.source.api.DataDictInterface;
import cn.laixueit.source.po.TbDataDict;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author duxiang
 * @date 2024/3/8 15:19
 */
@FeignClient(value = "DATADICTAPP")
public interface DataDictFeign extends DataDictInterface {
    @PostMapping("/datadictdetail/findDataDictAndDetail")
    List<TbDataDict> findDataDetail(@RequestBody List<String> codes);
}
